<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>Document</title>
    <link rel="stylesheet" href="../css/common.css" />
    <script src="../js/echarts.min.js"></script>
  </head>
  <body>
    <div id="pie" class="canvas"></div>
    <script>
      const pie = document.querySelector('#pie')
      const pieEcharts = echarts.init(pie)
      const options = {
        title: {
          text: '饼图',
          left: 'center',
          textStyle: {
            color: '#ccc'
          }
        }
      }
    </script>
  </body>
</html>
